package com.example.springboot_demo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <P> @Author: SongKeCheng
 * <P> Type: Class
 * <P> Description: 处理 类似于这样的请求：#https://le3-api.game.bilibili.com/pc/game/nav/info?id=1&name=xm
 * 1.query .../info?id=1&name=xm get post delete put
 * 2.表单提交  post delete put
 * 3.json post delete put
 * <P> Date: 2024/6/21:19:22
 */

@SuppressWarnings({"unchecked", ""})
@RequestMapping("/pc")
@Controller
public class PcController {
    private static final Logger log = LoggerFactory.getLogger(PcController.class);



    @RequestMapping("/game/nav/info")
    @ResponseBody
    public Object info(){
        return "this is info";
    }



}
